package com.indexingsystem.boss.entity;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Applications implements Serializable {

	/**
     * 
     */
	private static final long	serialVersionUID	= -7359942271394203389L;

	private String				appId;

	private String				appName;

	private String				appKey;

	private String				appSecret;

	private String				appImage;

	private String				appUri;

	private String				appIp;

	private String				scope;

	private Integer				appType;

	private Integer				authType;

	private String				responseType;

	private String				grantType;

	private Integer				status;

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date				createDate;

	private String				createUserId;

	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date				lastUpdatedDate;

	private String				lastUpdatedUserId;

	private String				appSummary;

	private String				target;

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public String getAppImage() {
		return appImage;
	}

	public void setAppImage(String appImage) {
		this.appImage = appImage;
	}

	public String getAppUri() {
		return appUri;
	}

	public void setAppUri(String appUri) {
		this.appUri = appUri;
	}

	public String getAppIp() {
		return appIp;
	}

	public void setAppIp(String appIp) {
		this.appIp = appIp;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}

	public Integer getAppType() {
		return appType;
	}

	public void setAppType(Integer appType) {
		this.appType = appType;
	}

	public Integer getAuthType() {
		return authType;
	}

	public void setAuthType(Integer authType) {
		this.authType = authType;
	}

	public String getResponseType() {
		return responseType;
	}

	public void setResponseType(String responseType) {
		this.responseType = responseType;
	}

	public String getGrantType() {
		return grantType;
	}

	public void setGrantType(String grantType) {
		this.grantType = grantType;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public Date getLastUpdatedDate() {
		return lastUpdatedDate;
	}

	public void setLastUpdatedDate(Date lastUpdatedDate) {
		this.lastUpdatedDate = lastUpdatedDate;
	}

	public String getLastUpdatedUserId() {
		return lastUpdatedUserId;
	}

	public void setLastUpdatedUserId(String lastUpdatedUserId) {
		this.lastUpdatedUserId = lastUpdatedUserId;
	}

	public String getAppSummary() {
		return appSummary;
	}

	public void setAppSummary(String appSummary) {
		this.appSummary = appSummary;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public Applications() {
		super();
	}

	public Applications(String appId, String appName, String appKey, String appSecret, String appImage, String appUri, String appIp, String scope,
			Integer appType, Integer authType, String responseType, String grantType, Integer status, Date createDate, String createUserId,
			Date lastUpdatedDate, String lastUpdatedUserId, String appSummary, String target) {
		super();
		this.appId = appId;
		this.appName = appName;
		this.appKey = appKey;
		this.appSecret = appSecret;
		this.appImage = appImage;
		this.appUri = appUri;
		this.appIp = appIp;
		this.scope = scope;
		this.appType = appType;
		this.authType = authType;
		this.responseType = responseType;
		this.grantType = grantType;
		this.status = status;
		this.createDate = createDate;
		this.createUserId = createUserId;
		this.lastUpdatedDate = lastUpdatedDate;
		this.lastUpdatedUserId = lastUpdatedUserId;
		this.appSummary = appSummary;
		this.target = target;
	}

	@Override
	public String toString() {
		return "Applications [appId=" + appId + ", appName=" + appName + ", appKey=" + appKey + ", appSecret=" + appSecret + ", appImage=" + appImage
				+ ", appUri=" + appUri + ", appIp=" + appIp + ", scope=" + scope + ", appType=" + appType + ", authType=" + authType
				+ ", responseType=" + responseType + ", grantType=" + grantType + ", status=" + status + ", createDate=" + createDate
				+ ", createUserId=" + createUserId + ", lastUpdatedDate=" + lastUpdatedDate + ", lastUpdatedUserId=" + lastUpdatedUserId
				+ ", appSummary=" + appSummary + ", target=" + target + "]";
	}
}